package respacker

type L10nFileInfo struct {
	RelPath string
	Mod     string
	Name    string
	Data    []byte
	Md5     string
}

func (f *L10nFileInfo) Copy() *L10nFileInfo {
	return &L10nFileInfo{
		RelPath: f.RelPath,
		Mod:     f.Mod,
		Name:    f.Name,
		Data:    f.Data,
		Md5:     f.Md5,
	}
}

const (
	SRC_FILE_INI_ALL  = "all@global.ini"
	SRC_FILE_INI_PART = "part@global.ini"
	SRC_FILE_DEV_DLL  = "dbghelp.dll"
	SRC_DIR_DATA      = "data"

	SRC_PATH    = ".\\src"
	OUTPUT_PATH = ".\\output"

	OUTPUT_REL_FILE_DEV_DLL = "Bin64\\dbghelp.dll"
	OUTPUT_REL_FILE_INI     = "data\\Localization\\chineses\\global.ini"

	OUTPUT_ABS_DIR_STARBOX_VERSION = ".\\output\\starbox_version"
	OUTPUT_ABS_DIR_MANUAL_VERSION  = ".\\output\\manual_version"
)
